package com.cn.springcloudclient.service.impl;

import com.cn.springcloudclient.mapper.URoleMapper;
import com.cn.springcloudclient.model.URole;
import com.cn.springcloudclient.service.inter.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("DemoService")
public class DemoServiceImpl implements DemoService{

    @Autowired
    URoleMapper uRoleMapper;

    @Override
    public URole selectByPrimaryKey(Long id) {
        return uRoleMapper.selectByPrimaryKey(id);
    }
}
